package com.pingan.haofang.searchcloud.api.query.parser.dbobject.operator;

import java.math.BigDecimal;

public class GTOperator implements BinaryOperator {

    @Override
    public boolean execute(Object left, Object right) {
        BigDecimal num1 = new BigDecimal(String.valueOf(left));
        BigDecimal num2 = new BigDecimal(String.valueOf(right));
        return num1.compareTo(num2) > 0;
    }

}
